package com.lemobar.pay.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import lombok.Data;
import org.w3c.dom.Document;

@Data
public abstract class BaseWxPayResult {
    @XStreamAlias("return_code")
    protected String returnCode;
    @XStreamAlias("return_msg")
    protected String returnMsg;
    @XStreamAlias("result_code")
    private String resultCode;
    @XStreamAlias("err_code")
    private String errCode;
    @XStreamAlias("error_code")
    private String errorCode;
    @XStreamAlias("err_code_des")
    private String errCodeDes;
    @XStreamAlias("appid")
    private String appid;
    @XStreamAlias("mch_id")
    private String mchId;
    @XStreamAlias("sub_appid")
    private String subAppId;
    @XStreamAlias("sub_mch_id")
    private String subMchId;
    @XStreamAlias("nonce_str")
    private String nonceStr;
    @XStreamAlias("sign")
    private String sign;
    private String xmlString;
    private transient Document xmlDoc;

}
